package com.dave.admin.modular.boss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dave.admin.modular.boss.dto.UpdateAdminPasswordParam;
import com.dave.admin.modular.boss.dto.UserAdminVo;
import com.dave.admin.modular.boss.entity.UserAdmin;

/**
 * <p>
 * BOSS后台用户表 服务类
 * </p>
 *
 * @author Dave
 * @since 2024-08-08
 */
public interface IUserAdminService extends IService<UserAdmin> {

    /**
     * 修改密码
     */
    boolean initPassword(String id);
    /**
     * 修改密码
     */
    boolean updatePassword(UpdateAdminPasswordParam updatePasswordParam);

    /**
     * 添加用户
     */
    boolean add(UserAdminVo userAdminVo);
}
